class Icons
  @@src_dir = "pages/img"
  
  @@icons = {
    :open => "folder-open.png",
    :expand => "list-add.png"
  }

  def self.get_icon(name, size)
    return nil unless @@icons.has_key?(name)
    Gtk::Image.new(Gdk::Pixbuf.new("#{@@src_dir}/#{@@icons[name]}", size, size))
  end
end
